package com.cloudbroker.bcs.platform.dav.bizapi.service.chat.vo;

import javax.validation.constraints.Size;

import com.cloudbroker.bcs.common.util.DateTimeUtil;
import com.cloudbroker.bcs.common.validatioin.annotation.DateValue;
import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.constants.ValidationConstants;

/**
 * Created by zhaojp18008 on 2016/8/17.
 */
public class GetHisChatMsgForm extends GetCacheChatMsgForm{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    private String start_time;
    private String end_time;
    private String topic_key_word;
    private String content_key_word;
    
    @IntegerString
    @Size(max = 5,message = ValidationConstants.MSG_MAXCHARLEN)
    private String page_no;
    
    @IntegerString
    @Length(max = 20)
    private String topic_id;

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getTopic_key_word() {
        return topic_key_word;
    }

    public void setTopic_key_word(String topic_key_word) {
        this.topic_key_word = topic_key_word;
    }

    public String getContent_key_word() {
        return content_key_word;
    }

    public void setContent_key_word(String content_key_word) {
        this.content_key_word = content_key_word;
    }

    public String getPage_no() {
        return page_no;
    }

    public void setPage_no(String page_no) {
        this.page_no = page_no;
    }

    public String getTopic_id() {
        return topic_id;
    }

    public void setTopic_id(String topic_id) {
        this.topic_id = topic_id;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("GetHisChatMsgForm [start_time=").append(start_time).append(", end_time=").append(end_time)
                .append(", topic_key_word=").append(topic_key_word).append(", content_key_word=")
                .append(content_key_word).append(", page_no=").append(page_no).append(", topic_id=")
                .append(topic_id).append("]");
        return builder.toString();
    }

}
